package com.mms.dao;

import java.sql.Connection;

import com.mms.entity.Customer;

public interface CustomerMapper {

	/**
	 * 以主键作为条件，更新一个客户
	 * @param customer
	 */
	void updateByPrimaryKey(Customer customer, Connection conn);

	/**
	 * 以主键作为条件，查询一个客户
	 * @param custId
	 * @return
	 */
	Customer selectByPrimaryKey(int custId);
}
